package cn.yangliu.config.custom;

import org.springframework.security.core.Authentication;

/**
 * @author 杨柳
 * @date 2019-06-02
 */
public interface TokenStore {

    void store(String token, Authentication authentication);

    Authentication getAuthentication(String token);

    boolean remove(String token);
}
